{include file="common:header" /}
<!-- 正文开始 -->
<div class="layui-fluid">
    <div class="layui-card">
        <div class="layui-card-body">
            <!-- 数据表格 -->
            <table id="sellerTab" lay-filter="sellerTab"></table>
        </div>
    </div>
</div>
<!-- js部分 -->
<script>
    layui.use(['table'], function () {
        var table = layui.table;
        /* 渲染表格 */
        table.render({
            elem: '#sellerTab',
            id: 'sellerTab_id',
            url: "{:url('api')}",
            defaultToolbar: [],
            page: true,
            limit: 20,
            limits: [15,20,30],
            height: 'full-50',
            cellMinWidth: 100,
            cols: [[
                {type:'numbers', title: '编号'}
                ,{field: 'username', title: '商户名'}
                ,{field: 'phone', title: '联系电话'}
                ,{field: 'create_time', title: '创建时间', sort: true}
            ]]
        });
    });
</script>
</body>
</html>
